package com.maimao.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maimao.model.goods.SpecDetails;
import com.maimao.model.goods.SpecOptions;
import com.maimao.model.goods.input.SpecDetailForm;
import com.maimao.model.goods.vo.SpecDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2020/12/11 8:22 下午
 */
public interface SpecOptionMapper extends BaseMapper<SpecOptions> {


    int deleteByDetaiId(Integer detailId);

    int insertBatch(@Param("detailId") Integer detailId,@Param("options") List<String> specOptions);
}
